Bandwidth saving architecture for scalable video coding

ABSTRACT

A system and method for scalable video coding that includes base layer having lower resolution encoding, enhanced layer having higher resolution encoding and the data transferring between two layers. The system and method provides several methods to reduce bandwidth of inter-layer transfers while at the same time reducing memory requirements. Due to less memory access, the system clock frequency can be lowered so that system power consumption is lowered as well. The system avoids having prediction data from base layer to enhanced layer to be up-sampled for matching resolution in the enhanced layer as transferring up-sampled data can impose a big burden on memory bandwidth.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 16/126,704, filed on Sep. 10, 2018, which is a continuation of U.S. patent application Ser. No. 13/689,212, filed Nov. 29, 2012, which issued as U.S. Pat. No. 10,085,017 on Sep. 25, 2018, which are incorporated by reference as if fully set forth.

FIELD OF INVENTION

The present invention relates to scalable video applications and more specifically to minimizing bandwidth in scalable video applications.

BACKGROUND

Currently, the remote transfer and display of video data using consumer electronics devices has become a field of significant development. Generally, it is desirable to permit such streaming between devices with different display capabilities. With the advent of higher resolution video, it is desirable to compress the video stream to increase the amount of data that can be transferred, yet it is also desirable to permit viewing of such video streams with devices that may only permit lower resolution video streams or may have throughput or slow processing capabilities that render such higher resolution signals impracticable. Thus, scalable video streams are increasing in popularity. In general, a video bit stream is called scalable when parts of the stream can be removed in a way that the resulting substream forms another valid bit stream for some target decoder, and the substream represents the source content with a reconstruction quality that is less than that of the complete original bit stream, but is high when considering the lower quantity of remaining data.

The usual modes of scalability are temporal, spatial, and quality scalability. Spatial scalability (also referred to as spatial resolution) describes cases in which subsets of the bit stream represent the source content with a reduced picture size. Temporal scalability (also referred to as temporal resolution) describes cases in which subsets of the bit stream represent the source content with a reduced frame rate. With quality scalability, the substream provides the same spatial-temporal resolution as the complete bit stream, but with a lower fidelity—where fidelity is often informally referred to as signal-to-noise ratio (SNR). Quality scalability is also commonly referred to as fidelity or SNR scalability.

In systems that support spatial, quality and temporal scalability in real time, memory bandwidth can become a limiting factor in the overall system performance. Thus, the need exists for a way to reduce or eliminate the effects of read/write activity that can increase memory bandwidth issues.

SUMMARY

In some of the embodiments described herein a system and method for scalable video coding includes a first encoding engine for encoding a frame to a first layer resolution that is less than optimal using the frame data, is presented. The first encoding engine generates data for predicting encoding of a frame to an optimal layer resolution. A second encoding engine encodes the frame to a second layer resolution that is greater than first resolution layer. The second encoding engine uses prediction data from the first encoding engine to improve the video compression rate. The system and method in such described embodiments include using less prediction data transferred between the first encoding engine and the second encoding engine, whereby the consumed power can be reduced by the use of less frame data.

In some embodiments, the system and method further include memory in the encoders for storing and retrieving frame and prediction data. Compared to standard AVC, the second encoder utilizes more memory for prediction data, where the added memory is less than one frame of data in the second layer resolution.

BRIEF DESCRIPTION OF THE DRAWINGS

Other aspects, advantages and novel features of the invention will become more apparent from the following detailed description of the invention when considered in conjunction with the accompanying drawings wherein:

FIG. 1 is a block diagram of a computing system according to the present invention;

FIG. 2 is a block diagram of a spatial encoding engine according to the present invention;

FIG. 3 is a block diagram of a spatial encoder according to the present invention;

FIG. 4 is a logic diagram of the spatial encoder of FIG. 3 according to the present invention;

FIG. 5 is diagrammatic view of an enhance and base layer according to the present invention; and

FIG. 6 is a block diagram of processed frames according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Embodiments of the invention as described herein provide a solution to the problems of conventional methods. In the following description, various examples are given for illustration, but none are intended to be limiting. Embodiments include implementing a remote video conferencing system (either wired or wireless) using a standard, non-custom codec. The advantages of these embodiments relate to communications between three or more users having different connection bandwidths and/or different receiving devices, where two or more different resolution displays receive a corresponding video signal from the same user's video source. Exemplary video resolution streams may include, but are not limited to, the following high and low resolution examples representing high and low resolution values for each of the modes of scalability.

Temporal resolution Spatial resolution SNR scale video source at 30 fps 1080 p High quality high resolution video source at low 15 fps  540 p Low quality resolution

It may be appreciated by those skilled in the art that while high and low resolution examples for each mode are shown in respective high and low video streams. The modes of scalability may be mixed such that all combinations of the high and low scalability options are possible.

In some embodiments of the present invention, Scalable Video Coding (SVC) embodying the present invention is for net conferencing in which more than 2 users are involved. In the instance that one video source is serving more than one client with different display resolutions, the present invention functions in an environment that sends the video stream with support for these different temporal resolutions and/or spatial resolutions. SVC is also useful for point to point streaming applications, between the user and the server, where the server stores the video in SVC format. The user then can choose among the possible resolutions available according to the bandwidth and receiving device available.

For purposes of this description, “H.264” refers to the standard for video compression that is also known as MPEG-4 Part 10, or MPEG-4 AVC (Advanced Video Coding). H.264 is one of the block-oriented motion-estimation-based codecs developed by the ITU-T Video Coding Experts Group (VCEG) together with the ISO/IEC Moving Picture Experts Group (MPEG).

Included within the features of H.264 is Scalable Video Coding (SVC) that is gaining popularity for video conferencing type applications. A number of industry leading companies have standardized (or support the standard) using SVC in the UCIF (Universal Communications Interop Forum) for video conferencing.

It is expected that the SVC-based video conferencing will be widely adopted. However, SVC, especially the spatial mode of the SVC (i.e. SVC spatial) is quite demanding of memory bandwidth. Reducing the memory Read and Write (R/W) bandwidth and the associated power consumption is desirable to implementing SVC Spatial mode in integrated circuits, such as an ASIC (Application Specific Integrated Circuit), especially in the low-end notebook/Tablet chips. Advantageously, embodiments of the present invention solve these issues by implementing, either alone or together, the following four innovative features:

1. Perform upsampling at the enhanced layer encoder. This can save write bandwidth by up to 75% compared to a conventional approach that separates these tasks.

2. If hardware architecture includes an internal buffer, then use the internal buffer to eliminate data exchange with memory. In this way, point 1 above can be used to also reduce the internal buffer size dramatically.

3. When encoding a 16×16 pixel MicroBlock (MB) of a non-top (meaning less than optimal or not the highest) resolution layer, then only write out inter-layer, intra-reconstructed data or inter-layer, inter-residual data to one buffer according to current MB type. Each entry of this buffer is 16 bits, so that the read Direct Memory Addressing (DMA) of this buffer by enhanced layer is simplified. This is because according to the SVC standard, the data size of reconstructed data is 8 bits, while that of residual data is 9 bits. With this method, the read/write bandwidth is saved by up to ⅓ of the bandwidth achieved from conventional methods.

4. To improve the storage and transferring efficiency, the sign bit is separated from the residual data; 8 bits instead of 16 bits can be used for residual data.

5. To further save memory bandwidth, the inter-layer data written out is optionally compressed using a conventional data compression algorithm, such as, but not limited to, ZIP file format compression.

In the following description, numerous specific details are introduced to provide a thorough understanding of, and enabling description for, embodiments of the implementing low latency applications. One skilled in the relevant art, however, will recognize that these embodiments can be practiced without one or more of the specific details, or with other components, systems, etc. In other instances, well-known structures or operations are not shown, or are not described in detail, to avoid obscuring aspects of the disclosed embodiments.

Computers and other such data processing devices have at least one control processor that is generally known as a control processing unit (CPU). Such computers and processing devices operate in environments which can typically have memory, storage, input devices and output devices. Such computers and processing devices can also have other processors such as graphics processing units (GPU) that are used for specialized processing of various types and may be located with the processing devices or externally, such as, included the output device. For example, GPUs are designed to be particularly suited for graphics processing operations. GPUs generally comprise multiple processing elements that are ideally suited for executing the same instruction on parallel data streams, such as in data-parallel processing. In general, a CPU functions as the host or controlling processor and hands-off specialized functions such as graphics processing to other processors such as GPUs.

With the availability of multi-core CPUs where each CPU has multiple processing cores, substantial processing capabilities that can also be used for specialized functions are available in CPUs. One or more of the computation cores of multi-core CPUs or GPUs can be part of the same die (e.g., AMD Fusion™) or in different dies (e.g., Intel Xeon™ with NVIDIA GPU). Recently, hybrid cores having characteristics of both CPU and GPU (e.g., CellSPE™, Intel Larrabee™) have been generally proposed for General Purpose GPU (GPGPU) style computing. The GPGPU style of computing advocates using the CPU to primarily execute control code and to offload performance critical data-parallel code to the GPU. The GPU is primarily used as an accelerator. The combination of multi-core CPUs and GPGPU computing model encompasses both CPU cores and GPU cores as accelerator targets. Many of the multi-core CPU cores have performance that is comparable to GPUs in many areas. For example, the floating point operations per second (FLOPS) of many CPU cores are now comparable to that of some GPU cores.

Embodiments of the present invention may yield substantial advantages by enabling the use of the same or similar code base on CPU and GPU processors and also by facilitating the debugging of such code bases. While the present invention is described herein with illustrative embodiments for particular applications, it should be understood that the invention is not limited thereto. Those skilled in the art with access to the teachings provided herein will recognize additional modifications, applications, and embodiments within the scope thereof and additional fields in which the invention would be of significant utility.

Embodiments of the present invention may be used in any computer system, computing device, entertainment system, media system, game systems, communication device, personal digital assistant, or any system using one or more processors. The present invention is particularly useful where the system comprises a heterogeneous computing system. A “heterogeneous computing system,” as the term is used herein, is a computing system in which multiple kinds of processors are available.

Embodiments of the present invention enable the same code base to be executed on different processors, such as GPUs and CPUs. Embodiments of the present invention, for example, can be particularly advantageous in processing systems having multi-core CPUs, and/or GPUs, because code developed for one type of processor can be deployed on another type of processor with little or no additional effort. For example, code developed for execution on a GPU, also known as GPU-kernels, can be deployed to be executed on a CPU, using embodiments of the present invention.

An example heterogeneous computing system 100, according to an embodiment of the present invention, is shown in FIG. 1. Heterogeneous computing system 100 can include one or more processing units, such as processor 102. Heterogeneous computing system 100 can also include at least one system memory 104, at least one persistent storage device 106, at least one system bus 108, at least one input device 110 and output device 112.

A processing unit of the type suitable for heterogeneous computing are the accelerated processing units (APUs) sold under the brand name Fusion by AMD of San Jose, Calif., according to an embodiment of the present invention as illustrated by FIG. 2. A heterogeneous processing unit includes one or more CPUs and one or more GPUs, such as a wide single instruction, multiple data (SIMD) processor and unified video decoder perform functions previously handled by a discrete GPU. It will be understood that when referring to the GPU structure and function, such functions are carried out by the SIMD. Heterogeneous processing units can also include at least one memory controller for accessing system memory and that also provides memory shared between the GPU and CPU and a platform interface for handling communication with input and output devices through, for example, a controller hub.

A wide single instruction, multiple data (SIMD) processor for carrying out graphics processing instructions may be included to provide a heterogenous GPU capability in accordance with the present invention or a discrete GPU may be included separated from the CPU to implement the present invention; however, as will be understood by those skilled in the art, additional latency may be experienced in an implementation of the present invention using a discrete GPU.

Advantageously, architecture of this type is well suited to provide a solution for implementing Spatial Scale encoding and/or decoding in SVC (scalable video coding). According to H.264 standards, the H.264 implementation of SVC supports spatial, quality and temporal scalability.

The present invention will now be described in terms of supporting spatial scalability to reduce external memory access as an improvement for implementing SVC for both encoder and decoder.

FIG. 2 shows the block diagram of a data flow for a hardware implementation Spatial Scale encoding 200. Initially, the smaller resolution of Base Layer will be encoded by the Base Layer Encoder 202, and at the same time Inter Layer data including, the residual data 204, reconstruction data 206 and motion data 208 will be generated for an Enhance Layer Encoder 210. In embodiments of the present invention,—Encoder 202 performs the functions of the Enhance Layer Encoder 210. Prior to reaching the Enhance Layer Encoder 210, the Inter Layer data is up-sampled by an UPSampler engine 212 to Enhance Layer resolution. Finally, Enhance Layer is estimated by the Enhance Layer Encoder 210 and encoded with up-sampled Inter Layer data information. The outputs of the Base Layer Encoder 202 and the Enhanced Layer Encoder 210 are merged into the final bit stream 214. Then, the Encoders 202 and 210 are merged by time division multiplexing.

Embodiments of the present invention improve the memory bandwidth throughput. As in H.264 spec, the encoder chooses residual or reconstruction data for the Enhance Layer prediction based on the Base Layer Micro-block (MB) type. Since these 2 kinds of data are generally mutually exclusive, they are not be used for the same MB. It has been discovered that one can output residual or reconstruction data based on MB TYPE. If the MB TYPE is Intra the reconstruction data will be selected, otherwise the residual data will be selected.

Furthermore, it will be appreciated that when a conventional source format is used, such as, but not limited to, the YUV420 source format, the generated residual data is 9-bits each and the reconstruction data is 8-bits each. While the 9-bits of data is not suitable for the storing and transferring data using an 8-bit channel in the memory. It was further realized that the 9^(th)-bit is a sign bit flag that marks it as residual data and if the sign bit is separated from the residual data, one can use 8 bits instead of 16 bits for residual data. The sign bits are then saved in another location with a reserve of 48 bytes/MB, sufficient to handle this task. With reference to FIG. 3, an embodiment of a spatial encoder 300 includes an output Mux 302 at the output of the Base Layer Encoder 304 which selectively delivers either the residual data or reconstruction data based upon MB_Type. Although, the output Mux may be associated separately from the Base Layer Encoder 304, it will be appreciated by those skilled in the art that the performance of the Output Mux 302 is optimal when included with the Base Layer Encoder 304. Thus, the Inter Layer data is transmitted with one less 8-bit channel as one 8-bit channel 306 delivers the residual data and the reconstruction data along with separate motion data 308 and a residual sign bit channel 310. These more efficient channels then deliver the data to an Enhance Layer Encoder 312 via an Upsampler 314. To further reduce the bandwidth, the up-sampler engine (UPS) 314 in an embodiment is placed in Enhanced Layer encoder 312.

With reference to FIG. 4, the data flow for a SVC Spatial Scalability Engine 400 is better understood. The data flow is arrived on understanding of computational requirements and data flow efficiency between the various components. The computational requirements of various functional elements in the H.264 encoder include receiving InterLayer Data 402 and a Current Picture 404. An UPSampler (UPS) 406 for upsampling the InterLayer data 402 and outputting residual data at lead 410 and reconstruction data at lead 408. The UPS engine 406 uses a bi-linear filter to up-sample the corresponding residual data in base layer for current MB, and uses a 4-tap filter to up-sample the reconstruction intra data. Also UPS will up-sample motion vector (MV) 420 for Motion Estimation 422.

Using UPS output, SVC provide 3 inter layer prediction tools for spatial scale. Inter layer Intra Prediction is for Intra mode, and Inter layer Residual Prediction and Inter layer Motion Prediction is for Inter mode. Depending on the MB Type in Base Layer, the following applied:

If MB Type in Base Layer is equal to Intra, the encoding flow is defined in following way:

When the base mode flag is set true, the Inter layer Intra Prediction tool is active. In this mode, residual will be generated by subtracting current MB from the up-sampled base layer reconstruction data. Here the data lead 418 will not be active and the zero data 412 is in used.

When the base mode flag is set false, the standard H.264 intra flow is invoked.

Otherwise, if the MB Type in base layer is equal to Inter, different steps are specified as follows:

When the base mode flag is set to 1, the Inter layer Motion Prediction is active. The base layer MV (which is not shown in the figure) is used as a predictor, MV for current MB is set equal to MV predictor.

When the base mode flag is set to 0 and motion prediction flag is 1, base layer MV is still used as a Predictor but one can set a different (MVD) between current MV and the MV Predictor.

When the base mode flag and the motion prediction flag are both 0, standard H.264 MV prediction is applied and base layer MV will not be used.

When the residual prediction flag is 1, the Inter layer Residual Prediction is active. The final residual will be calculated as current MB subtracting both MC output and the up-sampled base layer Residual 418. To estimate the effect of Residual Prediction, Interlayer Residual provides a lead 420 for ME.

When the residual prediction flag is 0, the base layer Residual is not used and the residual is simply generated by subtracting current MB from MC output.

After that the residual data is subsequently processed by Integer/Inverse integer transform engines 428 and 430 (IT/IIT) and Quantization/Inverse Quantization engines 432 and 434 (Q/IQ) that are then encoded. The output of the encoder is sent to the output Mux 436 and a Deblocking filter (DBF) 438. The reconstructed picture 440 becomes the reference picture 426. The output Mux 436 transmits InterLayer Data to a higher layer 442.

It will be appreciated by those skilled in the art, FIG. 4 does not show all the details for the SVC spatial scale and for more detail one can refer to the H.264 specification identified above.

With reference to FIG. 5, there is shown a 2× scale example 500 for the up-sampling. However, it will be understood that a 12×12 region 502 rather than a 8×8 region 504 in Base Layer 506 is needed to predict a 16×16 MB 508 in the enhance layer 510.

With reference to FIG. 6 shows the SVC implementation 600 on the frames, it contains temporal scale, quality scale and spatial scale. While the embodiments described herein only focus on the Spatial Scale. It will be appreciated by those skilled in the art that actually 2 sessions are used to implement Spatial Scale with time-division multiplexing.

For the first time slot in session 0, the lower resolution layer is encoded. And the interlayer data is saved into the memory.

For the next time slot in session 1, the same hardware encoder will fetch the interlayer data from the memory and begin encoding the higher resolution layer.

The Spatial Scale Residual/Reconstruction buffers can be classified into 2 parts; namely, the Inter Layer Residual/Reconstruction Buffer and the Sign Buffer for Inter Layer Residual.

The Inter Layer Residual/Reconstruction Buffer is as described with reference to FIG. 5, a 12×12 region is needed to interpolate a 16×16 MB in Enhance Layer. This may be understood that 2 additional pixels are needed in all the directions of top/bottom/right/left for a 8×8 block in the base layer.

In the encoder embodiments the data in the memory is saved in 8×8 granules, so actually, it will be appreciated that the needed region is 24×24 in the implementation.

With regard to the Sign Buffer for Inter Layer Residual, the sign buffer follows the same 8×8 store granule as described above.

With regard to these two buffers, the drive will check the encoder status; the Enhance Layer can only be encoded after the corresponding Base Layer is done.

Result for Bandwidth can seen from the example where one takes 540 p@30 fps to 1080 p@30 fps scaling as an example to show the bandwidth saving for residual and reconstruction data according to embodiments of this invention.

In this example, one has the following variables:

Variable Scaling Range Picture width 1920/960 Picture height 1088/544 Frame size factor 1.5 (1 for Y, 0.5 for UV) Frame rate 30 Bit depth 1/2 (1 for reconstruct, 2 for residual) Picture width in MBs (960/16) Picture height in MBs (544/16) Bytes per MB for (384/8)  residual sign

The bandwidth without any optimization (upscale in base layer, and both residual and reconstruction data will be sent to the memory): Write:(1920*1088*1.5*1*30+1920*1088*1.5*2*30)/1000000=282M Bytes/s Read:(1920*1088*1.5*1*30+1920*1088*1.5*2*30)/1000000=282M Bytes/s

The bandwidth after optimization becomes: Write:(960*544*1.5*1*30+(960/16)*(544/16)*(384/8)*30)/1000000=26M Bytes/s Read:(960*544*1.5*1*30+(960/16)*(544/16)*(384/8)*30)*3/1000000=79M Bytes/s

As a result, the writing bandwidth achieves a 90% savings and the reading bandwidth achieves a 70% savings.

It will be appreciated that to further save memory, an additional option of compressing the output data with ZIP or other run-level compression tools may be used.

Finally, for the best performance, an internal buffer to eliminate data exchange with memory can be added. This is also achievable when the hardware is configured with a fast processor or as a heterogeneous computing platform described above.

In embodiments of the present invention, the hardware described above can be implemented using a processor executing instruction from a non-transitory storage medium. Those skilled in the art can appreciate that the instructions are created using a hardware description language (HDL) that is a code for describing a circuit. An exemplary use of HDLs is the simulation of designs before the designer must commit to fabrication. The two most popular HDLs are VHSIC Hardware Description Language (VHDL) and VERILOG. VHDL was developed by the U.S. Department of Defense and is an open standard. VERILOG, also called Open VERILOG International (OVI), is an industry standard developed by a private entity, and is now an open standard referred to as IEEE Standard 1364. A file written in VERILOG code that describes a Joint Test Access Group (JTAG) compliant device is called a VERILOG netlist. VHDL is an HDL defined by IEEE standard 1076.1. Boundary Scan Description Language (BSDL) is a subset of VHDL, and provides a standard machine and human readable data format for describing how an IEEE Std 1149.1 boundary-scan architecture is implemented and operates in a device. Any HDL of the types described can be used to create instructions representative of the hardware description.

Although the invention has been described in terms of exemplary embodiments, it is not limited thereto. Rather, the appended claims should be construed broadly, to include other variants and embodiments of the invention, which may be made by those skilled in the art without departing from the scope and range of equivalents of the invention. 

What is claimed is:
 1. A system configured to perform scalable video encoding comprising: a memory; a buffer; and a processing unit, wherein the processing unit is configured to: generate a base layer bit stream based on one or more frames; generate inter-layer data including either residual data or reconstruction data based on a block type of the base layer bit stream, wherein a same number of bits are used for the residual data and the reconstruction data in the inter-layer data; upsample the inter-layer data; generate an enhanced layer bit stream based on the one or more frames and the upsampled inter-layer data; and merge the base layer bit stream and enhanced layer bit stream into a video stream.
 2. The system of claim 1, wherein the inter-layer data includes a bit indicating whether the inter-layer data includes residual data.
 3. The system of claim 1, wherein the processing unit includes one encoder.
 4. The system of claim 1, wherein the processing unit includes a base layer encoder and an enhanced layer encoder.
 5. The system of claim 4, wherein the base layer encoder is configured to generate the inter-layer data and transmit the inter-layer data to the enhanced layer encoder.
 6. The system of claim 5, wherein the inter-layer data is transmitted to the enhanced layer encoder over a plurality of data channels.
 7. The system of claim 4, wherein the enhanced layer encoder is configured to upsample the inter-layer data and generate an enhanced layer bit stream based on the one or more frames and the upsampled inter-layer data.
 8. The system of claim 1, wherein the processing unit is configured to store the inter-layer data in the buffer.
 9. The system of claim 8, wherein the processing unit is configured to fetch the inter-layer data from the buffer before upsampling the inter-layer data and encoding the one or more frames to an enhanced layer bit stream.
 10. A method for use in a processing system for performing scalable video encoding comprising: generating a base layer bit stream based on one or more frames; generating inter-layer data including either residual data or reconstruction data based on a block type of the base layer bit stream, wherein a same number of bits are used for the residual data and the reconstruction data in the inter-layer data; upsampling the inter-layer data; generating an enhanced layer bit stream based on the one or more frames and the upsampled inter-layer data; and merging the base layer bit stream and enhanced layer bit stream into a video stream.
 11. The method of claim 10, wherein the inter-layer data includes a bit indicating whether the inter-layer data includes residual data.
 12. The method of claim 10, wherein the encoding is performed by one encoder.
 13. The method of claim 10, wherein the encoding one or more frames to the base layer is performed by a base layer encoder and the encoding the one or more frames to the enhanced layer is performed by an enhanced layer encoder.
 14. The method of claim 10 further comprising transmitting the inter-layer data to the enhanced layer encoder.
 15. The method of claim 14, wherein the inter-layer data is transmitted to the enhanced layer encoder over a plurality of data channels.
 16. A non-transitory computer readable medium storing instructions that, when executed by a processor, cause the processor to perform instructions for performing scalable video encoding comprising: generating a base layer bit stream based on one or more frames; generating inter-layer data including either residual data or reconstruction data based on a block type of the base layer bit stream, wherein a same number of bits are used for the residual data and the reconstruction data in the inter-layer data; upsampling the inter-layer data; generating an enhanced layer bit stream based on the one or more frames and the upsampled inter-layer data; and merging the base layer bit stream and enhanced layer bit stream into a video stream.
 17. The non-transitory computer readable medium of claim 16, wherein the inter-layer data includes a bit indicating whether the inter-layer data includes residual data.
 18. The non-transitory computer readable medium of claim 16, wherein the encoding one or more frames to the base layer is performed by a base layer encoder and the encoding the one or more frames to the enhanced layer is performed by an enhanced layer encoder. 